package com.example.farmeri.ui.farm_manager.model;

public class ManagerModel {
    private String identity;
    private User user;
    public void setIdentity(String identity) {
        this.identity = identity;
    }
    public String getIdentity() {
        return identity;
    }

    public void setUser(User user) {
        this.user = user;
    }
    public User getUser() {
        return user;
    }

    public static class User {

        private String age;
        private double credit;
        private String email;
        private String icon;
        private String id;
        private String identity;
        private int is_admin;
        private boolean locked;
        private String login_name;
        private String nick_name;
        private String password;
        private String remark;
        private String request_place;
        private String salt;
        private String tel;
        public void setAge(String age) {
            this.age = age;
        }
        public String getAge() {
            return age;
        }

        public void setCredit(double credit) {
            this.credit = credit;
        }
        public double getCredit() {
            return credit;
        }

        public void setEmail(String email) {
            this.email = email;
        }
        public String getEmail() {
            return email;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }
        public String getIcon() {
            return icon;
        }

        public void setId(String id) {
            this.id = id;
        }
        public String getId() {
            return id;
        }

        public void setIdentity(String identity) {
            this.identity = identity;
        }
        public String getIdentity() {
            return identity;
        }

        public void setIs_admin(int is_admin) {
            this.is_admin = is_admin;
        }
        public int getIs_admin() {
            return is_admin;
        }

        public void setLocked(boolean locked) {
            this.locked = locked;
        }
        public boolean getLocked() {
            return locked;
        }

        public void setLogin_name(String login_name) {
            this.login_name = login_name;
        }
        public String getLogin_name() {
            return login_name;
        }

        public void setNick_name(String nick_name) {
            this.nick_name = nick_name;
        }
        public String getNick_name() {
            return nick_name;
        }

        public void setPassword(String password) {
            this.password = password;
        }
        public String getPassword() {
            return password;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }
        public String getRemark() {
            return remark;
        }

        public void setRequest_place(String request_place) {
            this.request_place = request_place;
        }
        public String getRequest_place() {
            return request_place;
        }

        public void setSalt(String salt) {
            this.salt = salt;
        }
        public String getSalt() {
            return salt;
        }

        public void setTel(String tel) {
            this.tel = tel;
        }
        public String getTel() {
            return tel;
        }

    }
}
